package com.wisdytech.linkdcs.equipLifeCycle.maintain.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenbin
 * @since 2018-06-10
 */
@TableName("TT_EQ_M_TYPE_ITEM")
public class MTypeItem extends Model<MTypeItem> {

    private static final long serialVersionUID = 1L;

    /**
     * 唯一id
     */
    @TableId("PK_ID")
    private String pkId;
    /**
     * 保养类别id
     */
    @TableField("TYPE_ID")
    private String typeId;
    /**
     *保养项id
     */
    @TableField("ITEM_ID")
    private String itemId;


    public String getPkId() {
        return pkId;
    }

    public void setPkId(String pkId) {
        this.pkId = pkId;
    }

    public String getTypeId() {
        return typeId;
    }

    public void setTypeId(String typeId) {
        this.typeId = typeId;
    }

    public String getItemId() {
        return itemId;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId;
    }

    @Override
    protected Serializable pkVal() {
        return this.pkId;
    }

    @Override
    public String toString() {
        return "MTypeItem{" +
        ", pkId=" + pkId +
        ", typeId=" + typeId +
        ", itemId=" + itemId +
        "}";
    }
}
